<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
    <link rel="stylesheet" href="考试成绩录入.css">
</head>

<body>
    <div>
        <h1>学生考试成绩录入</h1>
    </div><br>
    <div>
        <select name="" id="school">
            <option value="">请选择学校</option>
        </select>
        <select name="" id="grade">
            <option value="">请选择年级</option>
        </select>
        <select name="" id="classes">
            <option value="">请选择班级</option>
        </select><br>
        <br>
        <div>
            姓名：<input id="surname" type="text"><br><br>
            语文：<input id="chinese" type="number"><br><br>
            数学：<input id="maths" type="number"><br><br>
            英语：<input id="english" type="number"><br><br>
            <button id="add">添加</button><br><br>
        </div>
        <hr>
        <div>
            <ul class="nav nav-tabs" role="tabdata" id='tabul'>
            </ul>
        </div><br>
        <!-- <div id="btn">
    <li>第一小学</li>
    <li>第二小学</li>
    <li>实验小学</li>
    <li>城关镇小学</li>
</div><br> -->
        <div id='scro'>
            排序：
            <button class="sortbtn" val="c">语文</button>
            <button class="sortbtn" val="m">数学</button>
            <button class="sortbtn" val="e">英语</button>
            <button class="sortbtn" val="z">总分</button>
        </div><br>
        <div>
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th>班级</th>
                        <th>名字</th>
                        <th>语文</th>
                        <th>数学</th>
                        <th>英语</th>
                        <th>总分</th>
                        <th>平均分</th>
                        <th>排名</th>
                    </tr>
                </thead>
                <tbody id="tab">

                </tbody>
            </table>
        </div>
</body>
<script src="考试成绩录入.js">
   
</script>

</html>